package com.skeleton.db.dto;

import com.skeleton.common.base.dto.BaseDto;
import com.skeleton.db.entity.BlogArticle;

public class BlogArticleDto extends BaseDto {

	private String blogId;
	private String loginname;
	private String blogTitle;
	private String blogContent;
	private String blogTags;
	private int blogCreateDttm;
	private String blogCreateDttmStr;
	private String blogCreateIp;
	private int blogLastModifyDttm;
	private String blogLastModifyDttmStr;
	private int blogVisitCnt;
	private int blogFavourCnt;
	private int blogCollectCnt;
	private char blogStatus;
	private int blogSeq;

	public BlogArticle toEntity() {
		BlogArticle entity = new BlogArticle();
		entity.setBlog_id(blogId);
		entity.setLoginname(loginname);
		entity.setTitle(blogTitle);
		entity.setContent(blogContent);
		entity.setTags(blogTags);
		entity.setCreate_dttm(blogCreateDttm);
		entity.setCreate_ip(blogCreateIp);
		entity.setLast_modify_dttm(blogLastModifyDttm);
		entity.setVisit_cnt(blogVisitCnt);
		entity.setFavour_cnt(blogFavourCnt);
		entity.setCollect_cnt(blogCollectCnt);
		entity.setStatus(blogStatus);
		entity.setSeq(blogSeq);
		return entity;
	}

	public String getBlogId() {
		return blogId;
	}

	public void setBlogId(String blogId) {
		this.blogId = blogId;
	}

	public String getLoginname() {
		return loginname;
	}

	public void setLoginname(String loginname) {
		this.loginname = loginname;
	}

	public String getBlogTitle() {
		return blogTitle;
	}

	public void setBlogTitle(String blogTitle) {
		this.blogTitle = blogTitle;
	}

	public String getBlogContent() {
		return blogContent;
	}

	public void setBlogContent(String blogContent) {
		this.blogContent = blogContent;
	}

	public String getBlogTags() {
		return blogTags;
	}

	public void setBlogTags(String blogTags) {
		this.blogTags = blogTags;
	}

	public int getBlogCreateDttm() {
		return blogCreateDttm;
	}

	public void setBlogCreateDttm(int blogCreateDttm) {
		this.blogCreateDttm = blogCreateDttm;
	}

	public String getBlogCreateDttmStr() {
		return blogCreateDttmStr;
	}

	public void setBlogCreateDttmStr(String blogCreateDttmStr) {
		this.blogCreateDttmStr = blogCreateDttmStr;
	}

	public String getBlogCreateIp() {
		return blogCreateIp;
	}

	public void setBlogCreateIp(String blogCreateIp) {
		this.blogCreateIp = blogCreateIp;
	}

	public int getBlogLastModifyDttm() {
		return blogLastModifyDttm;
	}

	public void setBlogLastModifyDttm(int blogLastModifyDttm) {
		this.blogLastModifyDttm = blogLastModifyDttm;
	}

	public String getBlogLastModifyDttmStr() {
		return blogLastModifyDttmStr;
	}

	public void setBlogLastModifyDttmStr(String blogLastModifyDttmStr) {
		this.blogLastModifyDttmStr = blogLastModifyDttmStr;
	}

	public int getBlogVisitCnt() {
		return blogVisitCnt;
	}

	public void setBlogVisitCnt(int blogVisitCnt) {
		this.blogVisitCnt = blogVisitCnt;
	}

	public int getBlogFavourCnt() {
		return blogFavourCnt;
	}

	public void setBlogFavourCnt(int blogFavourCnt) {
		this.blogFavourCnt = blogFavourCnt;
	}

	public int getBlogCollectCnt() {
		return blogCollectCnt;
	}

	public void setBlogCollectCnt(int blogCollectCnt) {
		this.blogCollectCnt = blogCollectCnt;
	}

	public char getBlogStatus() {
		return blogStatus;
	}

	public void setBlogStatus(char blogStatus) {
		this.blogStatus = blogStatus;
	}

	public int getBlogSeq() {
		return blogSeq;
	}

	public void setBlogSeq(int blogSeq) {
		this.blogSeq = blogSeq;
	}

}
